package com.shuiyun.log.enums;

/**
 * @program: LogDemo
 * @description: 日志类型
 * @author: gujun
 * @create: 2019-10-10 13:36
 **/
public enum  LogType {

    INSERT(2002,"新增"),
    UPDATE(2003,"修改"),
    DELETE(2004,"删除"),
    LOGIN(2001,"登录");

    private int value;
    private String label;

    LogType(Integer value, String label) {
        this.value = value;
        this.label = label;
    }

    public Integer getValue() {
        return value;
    }

    public String getLabel() {
        return label;
    }
}
